package com.bailun91.auth.controller;

import com.bailun91.auth.entity.JsonData;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("product")
@RestController
public class ProductController {


    @RequestMapping("update")
    public JsonData update(){
        return JsonData.buildSuccess("更新产品",0);
    }
    @RequestMapping("delete")
    public JsonData delete(){
        return JsonData.buildSuccess("删除产品",0);
    }
    @RequestMapping("insert")
    public JsonData insert(){
        return JsonData.buildSuccess("增加产品",0);
    }
    @RequestMapping("find")
    public JsonData find(){
        return JsonData.buildSuccess("查看产品",0);
    }
}
